package com.aster.service.manage.service;

import com.aster.common.base.BaseService;
import com.aster.common.dto.UserToken;
import com.aster.common.exception.ServiceException;
import com.aster.common.utils.PageUtils;
import com.aster.service.manage.domain.TbEscortEnterpriseInfo;
import com.aster.service.manage.domain.TbEscortUserInfo;
import com.aster.service.manage.service.criteria.EscortEnterpriseInfoCriteria;
import com.aster.service.manage.service.criteria.EscortUserInfoCriteria;

/**
 * 
 * <br>
 * <b>功能：</b>TbEscortUserInfoService<br>
 */
public interface EscortUserInfoService extends BaseService {
    /**
     * 根据条件查询陪护员信息
     * @param criteria
     * @return
     */
    PageUtils getEscortUserInfoForPage(EscortUserInfoCriteria criteria);

    /**
     * 添加陪护员信息
     * @param tbEscortUserInfo 陪护员信息数据库模型
     */
    void addEscortUserInfo(TbEscortUserInfo tbEscortUserInfo, UserToken userToken) throws ServiceException;

    /**
     * 编辑陪护员信息
     * @param tbEscortUserInfo 陪护员信息数据库模型
     * @param userToken
     * @throws ServiceException
     */
    void editEscortUserInfo(TbEscortUserInfo tbEscortUserInfo, UserToken userToken) throws ServiceException;

    TbEscortUserInfo selectByOne(Object id);
}
